python3: update to version 3.11.13
authorJosef Schlehofer <[email protected]>
Thu, 14 Aug 2025 11:59:52 +0000 (13:59 +0200)
committerJosef Schlehofer <[email protected]>
Thu, 14 Aug 2025 13:48:04 +0000 (15:48 +0200)
Release notes:
https://docs.python.org/release/3.11.13/whatsnew/changelog.html#python-3-11-13

Fixes CVEs:
CVE 2024-12718
CVE 2025-4138
CVE 2025-4330
CVE 2025-4517

Patch refreshed

Signed-off-by: Josef Schlehofer <[email protected]>
lang/python/python3-version.mk
lang/python/python3/Makefile
lang/python/python3/patches/027-fix-host-build-libressl.patch

index 7bd437ef22094cab34718f1acbf291546ef4d8b5..4cc337ada23df7e2df4f0fe2405d51ae8ff1a382 100644 (file)
@@ -8,7 +8,7 @@
 # Note: keep in sync with setuptools & pip
 PYTHON3_VERSION_MAJOR:=3
 PYTHON3_VERSION_MINOR:=11
-PYTHON3_VERSION_MICRO:=10
+PYTHON3_VERSION_MICRO:=13
 
 PYTHON3_VERSION:=$(PYTHON3_VERSION_MAJOR).$(PYTHON3_VERSION_MINOR)
 
index 944e94180a3bfbac13c0f6ff876fbce2fde6501f..c17c0527385b8360f968424b24a6582a74ba30bb 100644 (file)
@@ -16,7 +16,7 @@ PKG_VERSION:=$(PYTHON3_VERSION).$(PYTHON3_VERSION_MICRO)
 
 PKG_SOURCE:=Python-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.python.org/ftp/python/$(PKG_VERSION)
-PKG_HASH:=07a4356e912900e61a15cb0949a06c4a05012e213ecd6b4e84d0f67aabbee372
+PKG_HASH:=8fb5f9fbc7609fa822cb31549884575db7fd9657cbffb89510b5d7975963a83a
 
 PKG_MAINTAINER:=Jeffery To <[email protected]>
 PKG_LICENSE:=Python-2.0.1 0BSD
index 19f5016e06c23f251c527d3d46bab3071104e83a..f45179d3b5f17ec7e540a58681f82d7f51313c69 100644 (file)
@@ -1,6 +1,6 @@
 --- a/Modules/_ssl.c
 +++ b/Modules/_ssl.c
-@@ -4541,7 +4541,7 @@ set_sni_callback(PySSLContext *self, PyO
+@@ -4551,7 +4551,7 @@ set_sni_callback(PySSLContext *self, PyO
      return 0;
  }
  
@@ -9,7 +9,7 @@
  static X509_OBJECT *x509_object_dup(const X509_OBJECT *obj)
  {
      int ok;
-@@ -4614,7 +4614,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
+@@ -4624,7 +4624,11 @@ _ssl__SSLContext_cert_store_stats_impl(P
      int x509 = 0, crl = 0, ca = 0, i;
  
      store = SSL_CTX_get_cert_store(self->ctx);
@@ -21,7 +21,7 @@
      if (objs == NULL) {
          PyErr_SetString(PyExc_MemoryError, "failed to query cert store");
          return NULL;
-@@ -4669,7 +4673,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
+@@ -4679,7 +4683,11 @@ _ssl__SSLContext_get_ca_certs_impl(PySSL
      }
  
      store = SSL_CTX_get_cert_store(self->ctx);